const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost:/test");
mongoose.Promise = Promise;
const ChatMsg = mongoose.model("ChatMsg", {
  msg:String,
  createData:Date,
  auther:String
});

module.exports = ChatMsg;
